package com.aliyun.messagemgt.dto.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.Date;

/**
 * @Author: Xiaohang Lv
 * @Date: 2019/5/7 15:57
 */
public class MyMsgVO {

    private String msgSourceName;

    private Integer pushChannelId;

    private String pushChannelName;

    private Integer pushChannelTypeId;

    private String pushChannelType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date timeCreate;

    private Integer stateRead;

    private String stateReadName;

    private String msgSourceType;

    public String getMsgSourceName() {
        return msgSourceName;
    }

    public MyMsgVO setMsgSourceName(String msgSourceName) {
        this.msgSourceName = msgSourceName;
        return this;
    }

    public String getPushChannelName() {
        return pushChannelName;
    }

    public MyMsgVO setPushChannelName(String pushChannelName) {
        this.pushChannelName = pushChannelName;
        return this;
    }

    public String getPushChannelType() {
        return pushChannelType;
    }

    public MyMsgVO setPushChannelType(String pushChannelType) {
        this.pushChannelType = pushChannelType;
        return this;
    }

    public Date getTimeCreate() {
        return timeCreate;
    }

    public MyMsgVO setTimeCreate(Date timeCreate) {
        this.timeCreate = timeCreate;
        return this;
    }

    public String getMsgSourceType() {
        return msgSourceType;
    }

    public MyMsgVO setMsgSourceType(String msgSourceType) {
        this.msgSourceType = msgSourceType;
        return this;
    }

    public Integer getPushChannelId() {
        return pushChannelId;
    }

    public MyMsgVO setPushChannelId(Integer pushChannelId) {
        this.pushChannelId = pushChannelId;
        return this;
    }

    public Integer getPushChannelTypeId() {
        return pushChannelTypeId;
    }

    public MyMsgVO setPushChannelTypeId(Integer pushChannelTypeId) {
        this.pushChannelTypeId = pushChannelTypeId;
        return this;
    }

    public Integer getStateRead() {
        return stateRead;
    }

    public MyMsgVO setStateRead(Integer stateRead) {
        this.stateRead = stateRead;
        return this;
    }

    public String getStateReadName() {
        return stateReadName;
    }

    public MyMsgVO setStateReadName(String stateReadName) {
        this.stateReadName = stateReadName;
        return this;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
